package org.FaPe3D.engine.materials.shaded
{
	import org.papervision3d.core.proto.LightObject3D;
	import org.papervision3d.lights.PointLight3D;
	import org.papervision3d.materials.shadematerials.FlatShadeMaterial;

	public class FPFlatShadeMaterial extends FlatShadeMaterial
	{
		private var _object:Object;
		
		public function FPFlatShadeMaterial(obj:Object=null,light:LightObject3D = null, diffuse:uint=0xffffff, ambient:uint=0x000000)
		{
			_object = obj;
			if(light == null)
			{
				light = new PointLight3D(true);
			}
			super(light, diffuse, ambient);
		}
		
	}
}